package com.logos.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {

    @RequestMapping("/test")
    @ResponseBody
    public String test() {
        System.out.println("TestController.test: run...");
        return "{'food':'bsJTB'}";
    }

    @RequestMapping("/test2")
    @ResponseBody
    public String test2() {
        System.out.println("TestController.test2: run...");
        return "{'food':'xlJTB'}";
    }
}
